package po;

import info.UserRole;

import java.io.Serializable;

public class UserPO implements Serializable{
	
	/**
	 * @author WangXuanyi
	 * @since 2012.10.18
	 */
	
	private static final long serialVersionUID = 1L;
	int id;
	String userName;
	String password;
	UserRole role;
	
	public UserPO(){
		
	}
	
	public UserPO(String userName, String password, UserRole role){
		this.userName = userName;
		this.password = password;
		this.role = role;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public UserRole getRole() {
		return role;
	}
	public void setRole(UserRole role) {
		this.role = role;
	}
	
	
}
